/*
 * @Author: [lcy]
 * @Date: 2021-10-27 20:08:32
 * @LastEditors: [lcy]
 * @LastEditTime: 2021-10-28 18:45:59
 * @Description: 
 */

import {get, post} from '@/utils/request'

// /category/findAll 查询
export function findAll() {
  return get('/category/findAll')
}

// /category/saveOrUpdate 新增保存
export function saveOrUpdate(data) {
  return post('/category/saveOrUpdate', data)
}

// /category/deleteById 删除
export function deleteById(data) {
  return get('/category/deleteById', { id: data })
}

